/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Specialist Technologist Other Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20631 (C-0-T19465-S20608-S20631-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getSpecialistTechnologistOtherProviderCodes()
 * @model extendedMetaData="name='SpecialistTechnologistOtherProviderCodes'"
 * @generated
 */
public enum SpecialistTechnologistOtherProviderCodes implements Enumerator {
	/**
	 * The '<em><b>246Z00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246Z00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_246Z00000X(0, "_246Z00000X", "246Z00000X"),

	/**
	 * The '<em><b>246ZA2600X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZA2600X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZA2600X(1, "_246ZA2600X", "246ZA2600X"),

	/**
	 * The '<em><b>246ZB0500X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZB0500X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZB0500X(2, "_246ZB0500X", "246ZB0500X"),

	/**
	 * The '<em><b>246ZB0301X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZB0301X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZB0301X(3, "_246ZB0301X", "246ZB0301X"),

	/**
	 * The '<em><b>246ZB0302X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZB0302X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZB0302X(4, "_246ZB0302X", "246ZB0302X"),

	/**
	 * The '<em><b>246ZB0600X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZB0600X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZB0600X(5, "_246ZB0600X", "246ZB0600X"),

	/**
	 * The '<em><b>246ZE0500X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZE0500X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZE0500X(6, "_246ZE0500X", "246ZE0500X"),

	/**
	 * The '<em><b>246ZE0600X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZE0600X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZE0600X(7, "_246ZE0600X", "246ZE0600X"),

	/**
	 * The '<em><b>246ZG1000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZG1000X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZG1000X(8, "_246ZG1000X", "246ZG1000X"),

	/**
	 * The '<em><b>246ZG0701X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZG0701X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZG0701X(9, "_246ZG0701X", "246ZG0701X"),

	/**
	 * The '<em><b>246ZI1000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZI1000X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZI1000X(10, "_246ZI1000X", "246ZI1000X"),

	/**
	 * The '<em><b>246ZN0300X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZN0300X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZN0300X(11, "_246ZN0300X", "246ZN0300X"),

	/**
	 * The '<em><b>246ZS0400X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246ZS0400X_VALUE
	 * @generated
	 * @ordered
	 */
	_246ZS0400X(12, "_246ZS0400X", "246ZS0400X");

	/**
	 * The '<em><b>246Z00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246Z00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246Z00000X
	 * @model literal="246Z00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _246Z00000X_VALUE = 0;

	/**
	 * The '<em><b>246ZA2600X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZA2600X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZA2600X
	 * @model literal="246ZA2600X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZA2600X_VALUE = 1;

	/**
	 * The '<em><b>246ZB0500X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZB0500X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZB0500X
	 * @model literal="246ZB0500X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZB0500X_VALUE = 2;

	/**
	 * The '<em><b>246ZB0301X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZB0301X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZB0301X
	 * @model literal="246ZB0301X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZB0301X_VALUE = 3;

	/**
	 * The '<em><b>246ZB0302X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZB0302X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZB0302X
	 * @model literal="246ZB0302X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZB0302X_VALUE = 4;

	/**
	 * The '<em><b>246ZB0600X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZB0600X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZB0600X
	 * @model literal="246ZB0600X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZB0600X_VALUE = 5;

	/**
	 * The '<em><b>246ZE0500X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZE0500X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZE0500X
	 * @model literal="246ZE0500X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZE0500X_VALUE = 6;

	/**
	 * The '<em><b>246ZE0600X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZE0600X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZE0600X
	 * @model literal="246ZE0600X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZE0600X_VALUE = 7;

	/**
	 * The '<em><b>246ZG1000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZG1000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZG1000X
	 * @model literal="246ZG1000X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZG1000X_VALUE = 8;

	/**
	 * The '<em><b>246ZG0701X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZG0701X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZG0701X
	 * @model literal="246ZG0701X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZG0701X_VALUE = 9;

	/**
	 * The '<em><b>246ZI1000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZI1000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZI1000X
	 * @model literal="246ZI1000X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZI1000X_VALUE = 10;

	/**
	 * The '<em><b>246ZN0300X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZN0300X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZN0300X
	 * @model literal="246ZN0300X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZN0300X_VALUE = 11;

	/**
	 * The '<em><b>246ZS0400X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246ZS0400X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246ZS0400X
	 * @model literal="246ZS0400X"
	 * @generated
	 * @ordered
	 */
	public static final int _246ZS0400X_VALUE = 12;

	/**
	 * An array of all the '<em><b>Specialist Technologist Other Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final SpecialistTechnologistOtherProviderCodes[] VALUES_ARRAY =
		new SpecialistTechnologistOtherProviderCodes[] {
			_246Z00000X,
			_246ZA2600X,
			_246ZB0500X,
			_246ZB0301X,
			_246ZB0302X,
			_246ZB0600X,
			_246ZE0500X,
			_246ZE0600X,
			_246ZG1000X,
			_246ZG0701X,
			_246ZI1000X,
			_246ZN0300X,
			_246ZS0400X,
		};

	/**
	 * A public read-only list of all the '<em><b>Specialist Technologist Other Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<SpecialistTechnologistOtherProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Specialist Technologist Other Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static SpecialistTechnologistOtherProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			SpecialistTechnologistOtherProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Specialist Technologist Other Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static SpecialistTechnologistOtherProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			SpecialistTechnologistOtherProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Specialist Technologist Other Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static SpecialistTechnologistOtherProviderCodes get(int value) {
		switch (value) {
			case _246Z00000X_VALUE: return _246Z00000X;
			case _246ZA2600X_VALUE: return _246ZA2600X;
			case _246ZB0500X_VALUE: return _246ZB0500X;
			case _246ZB0301X_VALUE: return _246ZB0301X;
			case _246ZB0302X_VALUE: return _246ZB0302X;
			case _246ZB0600X_VALUE: return _246ZB0600X;
			case _246ZE0500X_VALUE: return _246ZE0500X;
			case _246ZE0600X_VALUE: return _246ZE0600X;
			case _246ZG1000X_VALUE: return _246ZG1000X;
			case _246ZG0701X_VALUE: return _246ZG0701X;
			case _246ZI1000X_VALUE: return _246ZI1000X;
			case _246ZN0300X_VALUE: return _246ZN0300X;
			case _246ZS0400X_VALUE: return _246ZS0400X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private SpecialistTechnologistOtherProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //SpecialistTechnologistOtherProviderCodes
